<?php


namespace app\common\service\promotion;


use app\common\service\promotion\PromotionUserService;

/**
 * 登录退出
 */
class PromotionLoginService
{
    /**
     * 登录
     *
     * @param array $param 登录信息
     * 
     * @return array
     */
    public static function login($param)
    {
        return PromotionUserService::login($param);
    }

    /**
     * 退出
     *
     * @param int $user_id 用户id
     * 
     * @return array
     */
    public static function logout($user_id)
    {
        return PromotionUserService::logout($user_id);
    }
}
